import NetWork from '@/service/_request.js';
import { NetWork as NetWorkClass } from '@/service/_request.js';

const newNetWorkClass = new NetWorkClass('/');

class meteoroHomeApi1{
    //临时：首页-1.1实况数据
  //  async get_24jx_GetIp(params){ return newNetWorkClass.get('https://www.zxweather.cn:9011/api/WC_Home/GetIp',params) }
////itg/dlqxfw/rds/user/city-weather
async cityWeather(params){ 
//获取当前用户关注的地市

   return NetWork.get('itg/dlqxfw/rds/user/city-weather',params) }




async addCityWeather(params){ 
  //获取当前用户关注的地市

     return NetWork.post('itg/dlqxfw/rds/user/city-weather',params) }
      



async deleteCityWeather(params){ 
  //获取当前用户关注的地市
  console.log(params)
     return NetWork.delete('itg/dlqxfw/rds/user/city-weather',params) }
      

}
export default new meteoroHomeApi1();